import request from "../request";
import {getToken} from "../../utils/auth";

export function uploadImages(formData){
    let url="/api/upload/avatar";
    return request.post(url,formData,{
        headers:{
            'Content-Type':'multipart/form-data',
            Token:getToken()
        }
    })

}